<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2020/12/29
  Time: 9:12 上午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--   搜索和分页 begin--%>

<div class="container-fluid">
    <div class="row">
        <c:forEach items="${UserGoodsList.list}" var="p">
            <div class="col-xs-12 col-md-2">
                <div class="thumbnail">
                    <img src="/imgs/${p.goodsImgs}"
                         alt="通用的占位符缩略图">
                    <div class="caption">
                        <a href="/product/productdetail?goodsId=${p.goodsId}" style="font-size: 24px">${p.goodsName}</a>
                        <p class="text-success">￥:${p.goodsPrice}</p>
                        <p>${p.goodsRemark}</p>
                    </div>
                    <div style="text-align: right" class="text-danger">
                        <span class="glyphicon glyphicon-heart-empty"></span>
                    </div>
                </div>
            </div>
        </c:forEach>
    </div>
</div>

<div class="container" style="text-align: center">
    <%@ include file="../common/page2.jsp"%>
</div>

<%--    搜索分页end --%>